class util.EventObject
{
	private var command:String;
	private var methodArguments:Array;
	private var source:Object;

	public function EventObject(command:String, methodArguments:Array, source:Object)
	{
		this.command = command;
		this.methodArguments = methodArguments;
		this.source = source;
	}

	public function getCommand():String
	{
		return command;
	}

	public function getArguments():Array
	{
		return methodArguments;
	}

	public function getSource():Object
	{
		return source;
	}

	public function toString():String
	{
		return command + " " + arguments.join(",") + " " + source;
	}
}